// components/index/index.js
const app = getApp()
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  options: {
    addGlobalClass: true
  },
  /**
   * 组件的初始数据
   */
  data: {
   
   
    MenuList: app.globalData.MenuList,
    elements: [{
      title: '校园导览',
      name: '校园地图',
      color: 'cyan',
      icon: 'newsfill',
      url:'/pages/map/map'
    },
    {
      title: '树洞',
      name: '校园趣事',
      color: 'blue',
      icon: 'colorlens',
      url: '/pages/treehole/treehole'
    },
    {
      title: '成绩查询',
      name: '60分万岁',
      color: 'purple',
      icon: 'font',
      url: '/pages/score/score'
    },
    {
      title: '课表 ',
      name: '上课不迷路',
      color: 'mauve',
      icon: 'icon',
      url: '/pages/curriculum2/curriculum2'
    }
  ]
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
